<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String resourceBase = path+"/resources/";
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>	

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>摩威MEMS环境监测信息平台</title>

<!-- jQuery -->
<script type="text/javascript" src="<%=resourceBase%>jslib/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<%=resourceBase%>jslib/jquery.json-2.3.min.js"></script>
		   
<script type="text/javascript" src="<%=resourceBase%>customJS/verifyCode.js"></script> 


		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="<%=resourceBase%>css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="147" background="<%=resourceBase%>images/login_top02.gif" align="center"><img src="<%=resourceBase%>images/login_top_new.gif" width="776" height="147" align="absmiddle"/></td>
  </tr>
</table>
<table width="562" border="0" align="center" cellpadding="0" cellspacing="0" class="right-table03">
  <tr>
    <td width="221"><table width="95%" border="0" cellpadding="0" cellspacing="0" class="login-text01">
      
      <tr>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="login-text01">
          <tr>
            <td align="center"><img src="<%=resourceBase%>images/icons/ico13.gif" width="107" height="97" /></td>
          </tr>
          <tr>
            <td height="40" align="center">&nbsp;</td>
          </tr>
          
        </table></td>
        <td><img src="<%=resourceBase%>images/line01.gif" width="5" height="292" /></td>
      </tr>
    </table></td>
    <td>
    <form name="loginFrm" action="<%=request.getContextPath()%>/user/login.do" method="post" onsubmit="return isRightCode()">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="31%" height="35" class="login-text02">用户名称<br /></td>
        <td width="69%"><input id="userid" name="userid" type="text" size="30" /></td>
      </tr>
      <tr>
        <td height="35" class="login-text02">密码<br /></td>
        <td><input id="password" name="password" type="password" size="33" /></td>
      </tr>
      <tr>
        <td height="35" class="login-text02">验证图片<br /></td>
        <td>
        	<!-- 
        	<img id="code" src="<%=resourceBase%>securityJSP/makeCertPic.jsp" width="80" height="30" />
        	 <a href="javascript:changeimg()" class="login-text03">看不清楚，换张图片</a>
        	 -->
        	<img id="imgObj" src="VerifyCodeServlet"/>   
        	<a href="#" onclick="changeImg()" class="login-text03">看不清楚，换张图片</a> 
        </td>
      </tr>
      <tr>
        <td height="35" class="login-text02">请输入验证码</td>
        <td><input id="veryCode" name="veryCode" type="text" size="30" /></td>
      </tr>
      <tr>
        <td height="35">&nbsp;</td>
        <td><input name="sumbit" type="submit" class="right-button01" value="确认登录"/>
          <input name="Submit232" type="reset" class="right-button02" value="重置" /></td>
      </tr>
      <tr>
      	<td height="25">&nbsp;</td>
      	<td><div id="error"></div></td>
      </tr>
    </table>
    </form>
    </td>
  </tr>
</table>
</body>
</html>